import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import request from '@/utils/request'

Vue.use(ElementUI)
Vue.prototype.$http = request  // 将request实例挂载到Vue原型上

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')